﻿namespace Entity.Finance.View.IncomeAccount
{
    /// <summary>
    /// 对账单视图
    /// </summary>
    public class IncomeAccountView
    {
        /// <summary>
        /// 对账单 ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 对账单编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 客户 ID
        /// </summary>
        public string CustomerId { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string? CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string? CustomerName { get; set; }

        /// <summary>
        /// 总金额
        /// </summary>
        public decimal Amount { get; set; }
        
        /// <summary>
        /// 待收款金额
        /// </summary>
        public decimal IncomeToDo { get; set; }

        /// <summary>
        /// 收款中金额
        /// </summary>
        public decimal IncomeDoing { get; set; }
        
        /// <summary>
        /// 已收款金额
        /// </summary>
        public decimal? IncomeDone { get; set; }
    }
}
